<div id="cat">
{{section name=sec1 start=0 loop=$category_data step=1}}
	{{ if $category_data[sec1].parent_category_cd == 0  }}	
	   <h5><a href="{{'sp/topList/index'|U}}?category_id={{$category_data[sec1].category_cd}}">{{$category_data[sec1].category_name}}</a></h5>
	    <ul>
	   {{section name=sec2 start=0 loop=$category_data step=1}}
	      {{ if $category_data[sec2].parent_category_cd == $category_data[sec1].category_cd }}
	     <li><a href="{{'sp/topList/index'|U}}?category_id={{$category_data[sec2].category_cd}}">{{$category_data[sec2].category_name}}</a></li>
	      {{/if}}
	   {{/section}}
	   	</ul>
	{{/if}}

{{/section}}
</div>